package com.kgc.scd;

import com.github.xiaoymin.swaggerbootstrapui.annotations.EnableSwaggerBootstrapUI;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@EnableEurekaClient // 开启注册服务到eureka注册中心
@EnableFeignClients("com.kgc.scd.service") // 开启feign远程调用服务
@EnableSwagger2
@EnableSwaggerBootstrapUI
@SpringBootApplication
@Slf4j
public class BlmallWebApplication {

    public static void main(String[] args) {
        SpringApplication.run(BlmallWebApplication.class, args);
        log.info("项目启动...");
    }

}
